package com.zl.tby.screen.service;

import com.zl.tby.core.base.bean.TbyPageResult;
import com.zl.tby.dto.TbyEcologyInfoQuery;
import com.zl.tby.model.TbyEcologyInfo;
import com.zl.tby.model.TbyMountainPeak;
import com.zl.tby.screen.vo.ecology.ChartsData;
import com.zl.tby.screen.vo.ecology.TbyEcologyScreenInfo;

import java.util.List;

/**
 * 生态因子大屏数据
 * @author changpeng
 * @version 1.0
 * @since 2024/11/6 13:24
 */
public interface ITbyEcologyInfoScreenService {

    /**
     * 图形统计，进行汇总，根据时间范围汇总column属性的值
     * @param query: 查询参数
     * @return
     */
    List<ChartsData> statisticChartData(TbyEcologyInfoQuery query);

    List<ChartsData> statisticChartDataMaxmin(TbyEcologyInfoQuery query);

    /**
     * 历史数据查询
     * @param query
     * @return
     */
    TbyPageResult<TbyEcologyInfo> historyList(TbyEcologyInfoQuery query);

    /**
     * 根据站点获取最新信息
     * @param stationId: 站点
     * @return 结果
     */
    TbyEcologyScreenInfo detailByStationId(Long stationId);
}
